using Microsoft.EntityFrameworkCore;
using UniversalAdmin.Domain.Entities;

namespace UniversalAdmin.Domain.Repositories;

public interface IConversationRepository : IRepository<Conversation>
{
    Task<Conversation?> GetByIdWithMessagesAsync(Guid id);
    Task<IEnumerable<Message>> GetMessagesByConversationIdAsync(Guid conversationId);
    IQueryable<Conversation> GetQueryable();
}